package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年10月04 7:04
 * @desc 流程状态
 */
public enum ProcessStatusEnum implements IDescription {

    //待处理包括待盖章、待付款，已处理包括已盖章、已付款

    EDIT(0,"编辑"), EXAMINE(1,"审核中"),
    ADOPT(2,"通过"), UN_ADOPT(3, "不通过"),
    REPULSE(4,"打回"), UN_HANDLE(5, "待处理"),
    SCRAP(6,"报废"), HANDLE(7, "已处理"),
    RECALL(8, "撤回"),TRANSFER(9,"转移到下级处理");

    private final String description;

    private final Integer code;

    ProcessStatusEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
